include $(com_mk_header)


$(eval $(call auto_make_local_var,startup))

OBJCOPY:=objcopy
OBJCOPY_OPT:=-S -O binary

startup.bin:startup
	$(OBJCOPY) $(OBJCOPY_OPT) startup startup.bin

startup:$(startup_objs) startup.lds
	$(LINKER) $(LINKER_OPT)

%.o:%.s
	$(AS) $(COMPILER_OPT) $@ $<

$(startup_aobjs):%.s:%.c
	$(COMPLIER)  $(COMPILER_OPT) $@ $^

# end of file
